.dux-index-header {
  background-color: $color-main;
  background-image: url("../images/header-bg.png");
  background-size: cover;
  padding: 10px 10px;
  position: relative;
  a {
    color: #fff;
  }
  .header-return {
    img {
      width: 20px;
    }
    position: absolute;
    left: 10px;
    top: 10px;
  }
  .header-menu {
    text-align: right;
    a {
      margin-left:10px;
      font-size:1.6rem;
    }
    img {
      width: 20px;
    }
  }
  .header-user {
    color: #fff;
    padding: 20px 10px;
    display: flex;
    .user-avatar {
      width: 80px;
      img {
        width: 64px;
        height: 64px;
        border: 2px solid rgba(255,255,255,.8);
        border-radius: 50%;
      }
    }
    .user-info {
      flex: 1;
      margin-top:22px;
      .username {
        display: inline-block;
        font-size:1.8rem;
        line-height: 1.4rem;
        padding-top:2px;
      }
      .level {vertical-align:top;
        display: inline-block;
        color: $color-main;
        margin-right: 10px;
        font-size:1.2rem;
        padding: 2px 10px;
        background: #fff;
        border-radius: 10px;
        line-height: 1.4rem;
      }
      .none {
        color: $color-danger;
      }
    }

  }
}

.dux-index-menu {
  margin-top: 0;
  li {
    &:nth-of-type(1n) {
      i {
        color: #f49826;
      }
    }

    &:nth-of-type(2n) {
      i {
        color: #1a8ee1;
      }
    }
    &:nth-of-type(3n) {
      i {
        color: #2cae94;
      }
    }
    &:nth-of-type(4n) {
      i {
        color: #ff5995;
      }
    }
    &:nth-of-type(5n) {
      i {
        color: #f15a4a;
      }
    }
  }
}

.dux-index-icon {
  text-align: center;
  .icon-hr {
    height: 10px;
    background: #f4f4f4;
    width: 100%;
    display: block;
    float: none;
  }
  img {
    width: 30px;
    height: 30px;
    padding: 1px;
  }
  i {
    width: 30px;
    height: 30px;
    &:before {
      width: 30px;
      height: 30px;
      line-height:30px;
      font-size:2.5rem;
      text-align: center;
    }
  }
  .name {
    padding: 5px 0;
  }
  a {
    font-size: 1.4rem;
    display: block;
    padding: 10px 5px;
    position: relative;
    .uk-label {
      border-radius: 10px;
      position: absolute;
      top:5px;
      margin-left: 5px;
    }
  }
}

.dux-index-title {
  padding: 5px 10px;
  color: $color-text-secondary;
}

.dux-index-notice {
  background: #fff;
  padding: 5px 10px;
  height: 34px;
  overflow: hidden;
  border-bottom: 1px solid #eee;
  ul {
    line-height: 25px;
    span {
      border-radius: 2px;
      color: $color-main;
      border: 1px solid $color-main;
      padding: 0 2px;
      margin-right: 5px;
    }
  }

}

.dux-index-count {
  background: #fff;
  .count-item {
    display: block;
    text-align: center;
    padding: 10px 0;
    h2 {
      font-weight: normal;
      font-size: 1.8rem;
      margin: 0;
      color: $color-text-secondary;
    }
    p {
      margin: 0;
      font-size: 1.4rem;
    }
  }
}

.dux-index-count-border {
  li {
    position: relative;
    &:before {
      content: " ";
      background: #e7e7e7;
      width: 1px;
      height: 25px;
      position: absolute;
      right: 0;
      top: 25px;

    }
  }
}